import request from '@/utils/request'

export function musicList(data){
    return request({
        url : '/music/search',
        method : 'GET',
        params : {
            keywords : data
        }
    })
}

export function getMusicSrc(data){
    return request({
        url : '/music/song/url',
        method : 'GET',
        params : {
            id : data
        }
    })
}